<template>
	<zero-custom-bar :effect="false" color="#fff" title=''
		backgroundColor="linear-gradient(180deg, #FE9B23 0%, #FEA71D 100%)"> </zero-custom-bar>

	<view class="header">
		<image src="../../static/dfk.png" mode=""></image>
		<text class="title">待付款</text>
		<text class="time">剩余 59分47秒 自动关闭</text>
	</view>
	<view class="box">
		<view class="shop">
			<image src="../../static/shop.png" mode=""></image>
			<text class="slh">车搭档(车搭档(文一汽车美容中心)车搭档(文一汽车美容中心))</text>
		</view>
		<view class="car">
			<image src="" mode=""></image>
			<text>奥迪 Q7 </text>
			<text style="color: #8E8E8E;font-size: 26rpx;">辽 A122AR</text>
		</view>
		<view class="car">
			<image src="/static/user.png" mode=""></image>
			<text>18640400768</text>
		</view>
	</view>
	<view class="content">
		<view class="left">
			<image src="" mode=""></image>
			<view class="">
				<text class="title">标准洗车</text>
				<text class="sub-title">小车</text>
			</view>
		</view>
		<view class="right">
			<text>￥50</text>
			
		</view>
	</view>
	<view class="list">
		<view class="item">
			<text class="label">订单总价</text>
			<text class="value">￥50</text>
		</view>
		<view class="item">
			<text class="label">优惠</text>
			<text class="value" style="color: #FF3333;">-￥10</text>
		</view>
		<view class="item">
			<text class="label">需支付</text>
			<text class="value" style="color: #FF3333;">￥50</text>
		</view>
	</view>
	<view class="list">
		<view class="item">
			<text class="label">订单号</text>
			<text class="value">NCZ24511722085495</text>
		</view>
		<view class="item">
			<text class="label">下单时间</text>
			<text class="value">2024-05-11 09:27:33</text>
		</view>
		
	</view>
	<view class="footer">
		<view class="footer-content">
			<button class="cancle">取消订单</button>
			<button class="confirm">立即付款</button>
		</view>
	</view>


</template>

<script setup>

</script>

<style lang="scss">
	page {
		background: linear-gradient(180deg, #FE9B23 0%, #FFB32B 21%, #F8F5F0 49%) no-repeat;

	}

	.header {
		margin-top: 33rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;

		image {
			width: 66rpx;
			height: 66rpx;
			display: block;
			margin-bottom: 18rpx;
		}

		.title {
			font-weight: bold;
			font-size: 36rpx;
			color: #FFFFFF;
			display: block;
			margin-bottom: 16rpx;
		}

		.time {
			font-size: 26rpx;
			color: #FFE9D0;
		}

	}

	.box {
		width: 630rpx;
		padding: 36rpx;
		background: #FFFFFF;
		border-radius: 36rpx;
		margin:43rpx auto 17rpx;
		.shop {

			display: flex;
			align-items: center;
			padding-bottom: 32rpx;
			border-bottom: 2rpx solid #F2F2F2;
			margin-bottom: 30rpx;

			image {
				display: block;
				width: 54rpx;
				height: 54rpx;
				margin-right: 11rpx;
			}

			text {
				font-size: 30rpx;
				color: #16191B;
				width: 420rpx;
			}
		}

		.car {
			display: flex;
			align-items: center;
			margin-bottom: 20rpx;

			image {
				display: block;
				width: 48rpx;
				height: 48rpx;
				margin-right: 11rpx;
				background: pink;
				border-radius: 50%;
				flex-shrink: 0;
			}

			text {
				font-size: 30rpx;
				color: #16191B;

				margin-right: 12rpx;
			}
		}
	}

	.content {
		width: 630rpx;
		padding: 36rpx;
		background: #FFFFFF;
		border-radius: 36rpx;
		margin:0 auto;
		display: flex;
		justify-content: space-between;
		align-items: flex-end;

		.left {
			display: flex;

			image {
				width: 150rpx;
				height: 150rpx;
				background: #EDEDED;
				display: block;
				margin-right: 18rpx;
			}

			view {
				.title {
					color: #16191B;
					font-size: 30rpx;
					display: block;
				}

				.sub-title {
					color: #8E8E8E;
					font-size: 26rpx;
				}
			}
		}

		.right {
			text {
				font-size: 30rpx;
				color: #16191B;
				display: block;
				text-align: right;
			}

			.btn {
				width: 160rpx;
				height: 70rpx;
				background: #FE9B23;
				border-radius: 35rpx;
				display: block;
				font-size: 26rpx;
				color: #FEFFFF;
				margin-top: 43rpx;
				line-height: 70rpx;
			}
		}
	}
	.list{
		width: 630rpx;
		padding:0 36rpx;
		background: #FFFFFF;
		border-radius: 36rpx;
		margin:18rpx auto;
		.item{
			height:110rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			
			.label{
				font-size: 30rpx;
				color: #16191B;
			}
			.value{
				font-size: 28rpx;
				color: #A5A5A5;
			}
		}
	}
	.footer{
		width: 750rpx;
		height: 167rpx;
		
		position: relative;
		.footer-content{
			width: 750rpx;
			height: 167rpx;
			background: #FFFFFF;
			border: 1px solid #ECF4F6;
			position: fixed;
			bottom: 0;
			left: 0;
			display: flex;
			justify-content: flex-end;
			.cancle{
				width: 210rpx;
				height: 70rpx;
				border-radius: 35rpx;
				border: 2px solid #F29335;
				font-size: 28rpx;
				color: #FE9B23;
				line-height: 74rpx;
				display: block;
				margin: 0;
				margin-top: 21rpx;
				margin-right: 10rpx;
				background: #fff;
				
			}
			.confirm{
				width: 210rpx;
				height: 70rpx;
				background: #FE9B23;
				border-radius: 35rpx;
				font-size: 28rpx;
				color: #FEFFFF;
				line-height: 70rpx;
				display: block;
				margin: 0;
				margin-top: 21rpx;
				margin-right: 26rpx;
			}
		}
		
	}
	
</style>